<?php
$activeTemplate = (isset($data)&&isset($data['template'])&&$data['template']!=='')?$data['template']:PWE::getDefaultTemplate();
?>
<h3>Modèle de page :</h3>
<select name="modele_template">
    <?php foreach($this->getTemplateListe() as $template=>$description): ?>
    <option value="<?php echo $template; ?>" <?php echo($activeTemplate===$template)?'selected="selected"':''; ?>><?php echo $description; ?></option>
    <?php endforeach; ?>
</select>